<form action="index.php" method="get" onsubmit="return check_keyword()">
  <input type="hidden" value="search" name="app" />
  <ul class="search f-cb">
    <!-- <li class="search-l">
      <dl class="search_type fixpng" id="search_type">
        <dt>
          <a searchtype="brand" rel="nofollow">品牌</a>
        </dt>
        <dd>
          <a searchtype="index" rel="nofollow">商品</a>
        </dd>
        <dd>
          <a searchtype="store" rel="nofollow">店铺</a>
        </dd>
      </dl>
      <input type="hidden" value="brand" id="searchtype" name="act" />
    </li> -->
    <!--{if $search_type eq 'store'}-->
    <li class="search-l">
      <dl class="search_type fixpng" id="search_type">
        <dt>
          <a searchtype="store" rel="nofollow">店铺</a>
        </dt>
        <dd>
          <a searchtype="index" rel="nofollow">商品</a>
        </dd>
        <!-- <dd>
          <a searchtype="brand" rel="nofollow">品牌</a>
        </dd> -->
      </dl>
      <input type="hidden" value="store" id="searchtype" name="act" />
    </li>
    <!--{else}-->
    <li class="search-l">
      <dl class="search_type fixpng" id="search_type">
        <dt>
          <a searchtype="index" rel="nofollow">商品</a>
        </dt>
        <dd>
          <a searchtype="store" rel="nofollow">店铺</a>
        </dd>
        <!-- <dd>
          <a searchtype="brand" rel="nofollow">品牌</a>
        </dd> -->
      </dl>
      <input type="hidden" value="index" id="searchtype" name="act" />
    </li>
    <!--{/if}-->
    <li class="search-c">
      <!--{if !$search_keyword}-->
      <label for="search" id="label">请输入关键字</label>
      <!--{/if}-->
      <input type="text" name="keyword" id="search" value="{$search_keyword}" onfocus="wl.focusInput(this)" onblur="wl.blurInput(this)" />
    </li>
    <li class="search-r">
      <input type="submit" value="搜索" />
    </li>
  </ul>
</form>